package com.juyu.miliao.api.dao.mysql;

import com.juyu.miliao.api.domain.LuckDrawPrize;
import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Auther: 卜加超
 * @Date: 2019/7/11 13:50
 * @Description:
 */
@Repository
public class PrizeDao {
    @Resource
    private SqlSession sqlSession;

    public List<LuckDrawPrize> getPrizeList(){
        return sqlSession.selectList("getPrizeList");
    }
}
